/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package clasesmath;

/**
 *
 * @author Mizael
 */
public class rint {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        double a=9.4;
        System.out.println(Math.rint(a));
        //redondea el valor al numero mas sercano
    }

}
